home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 8: LINUX Games
/
Linux Cubed Series 8 - LINUX Games.iso
/
games
/
x11
/
networke
/
civ-0.000
/
civ-0
/
civ-0.3
/
src
/
misc.cc
< prev
next >
Wrap
C/C++ Source or Header
|
1995-02-16
|
254b
|
15 lines
#include "misc.h"
#include "list.h"
#include <stdio.h>
#include <stdarg.h>
void AddMessage(List<charp> &l, char *format, ...)
{
char str[256];
va_list ap;
va_start(ap, format);
vsprintf(str, format, ap);
va_end(ap);
l.Insert(strdup(str));
}